//
//  HomeCityPickerViewController.m
//  BaseProject
//
//  Created by 王洋 on 2020/8/25.
//  Copyright © 2020 王洋. All rights reserved.
//
#import "CityPickerController.h"

#import "HomeCityPickerViewController.h"

@interface HomeCityPickerViewController ()<CityPickerDelegate>

@end

@implementation HomeCityPickerViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self initView];
}

- (void)initView {
    
    self.view.backgroundColor = UIColorHex(0xffffff);
    
    [self.view addSubview:self.cityPickerVC.view];
    [self addChildViewController:self.cityPickerVC];
    [self.cityPickerVC.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.bottom.right.mas_equalTo(0);
        make.top.mas_equalTo(kStatusBarHeight);
    }];
        
}

- (CityPickerController *)cityPickerVC {
    if (!_cityPickerVC) {
        _cityPickerVC = [[CityPickerController alloc] init];
    }
    return _cityPickerVC;
}


@end
